<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
</head>
<body class="pear-container">
<div class="layui-bg-gray" style="padding: 30px;">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>学生信息</legend>
    </fieldset>
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">学生姓名</div>
                <div class="layui-card-body">
                    {$child.username}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">性别</div>
                <div class="layui-card-body">
                    {$child.sex}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">入托时间</div>
                <div class="layui-card-body">
                    {$child.nursery_time}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">到期时间</div>
                <div class="layui-card-body">
                    {$child.end_time|date="Y-m-d"}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">联系电话</div>
                <div class="layui-card-body">
                    {$child.mobile}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">身高</div>
                <div class="layui-card-body">
                    {$child.height} 厘米
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">体重</div>
                <div class="layui-card-body">
                    {$child.weight}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">头围</div>
                <div class="layui-card-body">
                    {$child.head_length}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">照片</div>
                <div class="layui-card-body">
                   <img src="{$child.student_img}" style="height: 50px">
                </div>
            </div>
        </div>
    </div>

</div>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>所在班级</legend>
</fieldset>
<div class="layui-bg-gray" style="padding: 30px;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">所在班级</div>
                <div class="layui-card-body">
                    {$child.class.class_name}
                </div>
            </div>
        </div>
    </div>
</div>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>家长信息</legend>
</fieldset>
<div class="layui-bg-gray" style="padding: 30px;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">姓名</div>
                <div class="layui-card-body">
                    {$child.parent.username}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">性别</div>
                <div class="layui-card-body">
                    {$child.parent.sex}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">手机号</div>
                <div class="layui-card-body">
                    {$child.parent.mobile}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">年龄</div>
                <div class="layui-card-body">
                    {$child.parent.age}
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    layui.use(['jquery', 'common'], function () {

    })
</script>
</body>
</html>
